import React from 'react';
import withToolTip from './withToolsTip';
const itemA = (props) => {
	return (
		<div className="container">
			<button className="btn btn-primary" type="btn">
				ToolTipA
			</button>
			{props.action.showToolTip && (
				<span className="badge badge-pill badge-primary ml-2">
					{props.action.content}
				</span>
			)}
		</div>
	);
};

export default withToolTip(itemA);
